class CreateSettles < ActiveRecord::Migration[5.2]
  def change
    create_table :settles do |t|
      t.integer :shop_id
      t.integer :shoper_id
      t.decimal :fee, :precision => 10, :scale => 2, :default => 0.0
      t.integer :state, default: 0
      t.text :remark
      t.integer :admin_id

      t.timestamps
    end
  end
end
